package com.example.myapplication;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import androidx.appcompat.app.AppCompatActivity;

/**
 * @ProjectName: My Application4
 * @Package: com.example.myapplication4
 * @ClassName: layout2
 * @Description: java类作用描述
 * @Author: hxj
 * @CreateDate: 2019/10/15 17:40
 * @UpdateUser: 更新者
 * @UpdateDate: 2019/10/15 17:40
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
public class layout2 extends AppCompatActivity {
    private Button next;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.layout2);
        next =(Button) findViewById(R.id.next);

        next.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent i = new Intent();//本页面--跳转页面
                i.setClass(layout2.this, check.class);
//                //启动跳转
                startActivity(i);
            }
        });


    }
}
